# -*- mode: snippet -*-
# name: IAS
# key: ias
# expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil))
# --
\documentclass[11pt]{beamer}
\mode<presentation>
{\usetheme{IAS_topNav}		% Only top navigation with IAS colors
\setbeamercovered{transparent}}
\setbeamertemplate{navigation symbols}{}
\usepackage{fontenc}
\usepackage[boldfont,slantfont,CJKnumber,CJKaddspaces]{xeCJK}
\setCJKmainfont{WenQuanYi Micro Hei}  
\setCJKmonofont{WenQuanYi Zen Hei}    
\setmainfont{Times New Roman} 
\setmonofont{Times New Roman} 
\setsansfont{Arial}     
%\usepackage{mytikz}
\title{A fancy IAS presentation}
\author{Xie Wanpeng}
\institute{ 
  Department of Physics\\
  Tsinghua University}
\AtBeginSubsection[]{
  \begin{frame}<beamer>
    \frametitle{Outline}
    \tableofcontents[currentsection,currentsubsection]
  \end{frame}}
% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
% \logo{\pgfuseimage{university-logo}}
\titlegraphic{\includegraphics[height=1.2cm]{thu2.jpg}}  
\begin{document}
\begin{frame}
  \titlepage
\end{frame}
\begin{frame}
  \frametitle{Outline}
  \tableofcontents
\end{frame}
\end{document}